package com.fqh.service;

import com.fqh.entity.Login;

import java.util.List;

public interface UserService {

    List<Login> checkByUsernameAndPassword(String telephone, String pwd);

    List<Login> findUsername(String username);

    List<Login> findTelephone(String telephone);

    void addUser(String username, String password, String telephone);

    void changePwd(Integer loginId, String pwd) throws Exception;
}
